package com.ym.b2b.buyer.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.ym.b2b.buyer.sqlbean.EmCBuyerAddress;

public interface EmCBuyerAddressDao {

    public EmCBuyerAddress searchEmCBuyerAddressDetail(EmCBuyerAddress emCBuyerAddress) throws DataAccessException;

    public List<EmCBuyerAddress> searchEmCBuyerAddress(EmCBuyerAddress emCBuyerAddress) throws DataAccessException;

    public void insertEmCBuyerAddress(EmCBuyerAddress emCBuyerAddress) throws DataAccessException;

    public void updateEmCBuyerAddress(EmCBuyerAddress emCBuyerAddress) throws DataAccessException;

    public void updateEmCBuyerAddressByBuyerCode(EmCBuyerAddress emCBuyerAddress) throws DataAccessException;

    public void deleteEmCBuyerAddress(EmCBuyerAddress emCBuyerAddress) throws DataAccessException;

}
